package com.qiaoba.service.user.controller;


import com.qiaoba.api.order.OrderApiService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/user")
@Tag(name = "用户管理")
public class UserController {

    @Resource
    private OrderApiService orderApiService;

    @GetMapping("/test")
    @Operation(summary = "测试")
    public String test() {

        System.out.println("orderApiService.test() = " + orderApiService.test());
        return "User";
    }
}
